package com.mage.completeproject;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//使用MapperScan批量扫描所有的Mapper接口，也使得@Autowired自动装配Mapper接口对象能够成功
@MapperScan(value = "com.mage.completeproject.mapper")
@SpringBootApplication
public class CompleteProjectApplication {

    public static void main(String[] args) {
        SpringApplication.run(CompleteProjectApplication.class, args);
    }

}
